package com.cmwa.solution.business.prdSetup.news.entity;

import org.apache.ibatis.type.Alias;

import com.cmwa.solution.base.entity.BaseVo;

/**
 * 通用资讯信息表实体
 * 
 * @author ex-hejm
 * @date 2019-01-22 13:24:23
 */
@Alias("newsInfoCommonVo")
public class NewsInfoCommonVo extends BaseVo {
	    
    /**
     * 主键
	 */
    private String id; 
	    
    /**
     * 资讯标题
	 */
    private String newsTitle; 
	    
    /**
     * 资讯摘要
     */
    private String newsAbstract;
    
    /**
     * 资讯类别 1：市场观点 2：市场热点产品 3：资产配置建议 4：监管动态建议
	 */
    private String newsType; 
	    
    /**
     * 资讯正文
	 */
    private String newsContent; 
    
    /**
     * 附件数
     */
    private Integer attCount;
			
	/**
     * 主键
	 */
    public String getId () {
        return id;
    }
    public void setId (String id) {
        this.id = id;
    }
		
	/**
     * 资讯标题
	 */
    public String getNewsTitle () {
        return newsTitle;
    }
    public void setNewsTitle (String newsTitle) {
        this.newsTitle = newsTitle;
    }
		
	public String getNewsAbstract() {
		return newsAbstract;
	}
	public void setNewsAbstract(String newsAbstract) {
		this.newsAbstract = newsAbstract;
	}
	/**
     * 资讯类别 1：市场观点 2：市场热点产品 3：资产配置建议 4：监管动态建议
	 */
    public String getNewsType () {
        return newsType;
    }
    public String getNewsTypeNm () {
        return NewsType.get(newsType);
    }
    public void setNewsType (String newsType) {
        this.newsType = newsType;
    }
		
	/**
     * 资讯正文
	 */
    public String getNewsContent () {
        return newsContent;
    }
    public void setNewsContent (String newsContent) {
        this.newsContent = newsContent;
    }
	public Integer getAttCount() {
		return attCount;
	}
	public void setAttCount(Integer attCount) {
		this.attCount = attCount;
	}
    
}
